﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using System.Web.UI;
using System.Web.UI.WebControls;
using System.Web.Security;

namespace SecurityProject
{
    public partial class ConfirmRegisteration : System.Web.UI.Page
    {
        protected void Page_Load(object sender, EventArgs e)
        {
            if (Request.QueryString["id"] != null)
            {
                Guid UserID = new Guid(Request.QueryString["id"]);
                Label1.Text = "Account confirmed for: " + Membership.GetUser(UserID).UserName.ToString();
                //This is the ID of the user that should be activated.
                //Request.QueryString["id"]
            }
        }
    }
}